
package com.wyzz.hr.bo;

import java.util.Date;
import java.util.List;

import com.wyzz.hr.pojo.Leavecalendar;
import com.wyzz.hr.pojo.Location;

public interface ILeavecalendarBO {

	public abstract int isACalendarDay(Date date, Location location);

	public abstract Leavecalendar loadLeavecalendar(String s);

	public abstract List insertLeavecalendar(Leavecalendar leavecalendar);

	public abstract List deleteLeavecalendar(String s);

	public abstract List updateLeavecalendar(Leavecalendar leavecalendar);

	public abstract List getCalendarByYear(int i);

	public abstract List getCalendarListByDay(Date date, Date date1,
			Location location);

	public abstract List getCalendarListByDay(Date date, Date date1);

	public abstract int getWorkDays(Date date, Date date1, List list,
			Location location);

	public abstract int isACalendarDay(Date date, List list, Location location);

	public abstract int getWorkingDaysByLocal(Date date, Date date1,
			Location location);
}
